﻿
Partial Class mobile_members
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
        If Roles.IsUserInRole("Role_Uni_Admin") Then
            Dim uni_id As Integer = ACSService.getAdminUni(Membership.GetUser().ProviderUserKey.ToString)
            UniID.Value = uni_id
        ElseIf Roles.IsUserInRole("Role_Super_Admin") Then
            SqlDataSource1.SelectCommand = "SELECT * FROM [MEMBERS]"
            SqlDataSource1.DataBind()
        End If
    End Sub
End Class
